package com.zhongc.advance.service;

import com.zhongc.advance.info.SecurityQuestion;

import java.util.List;

/**
 * @Description
 * @Version 1.0
 * @Author zhongc
 * @Email zhong_ch@foxmail.com
 * @History <li>Author: zhongc</li>
 * <li>Date: 2015-07-27</li>
 * <li>Version: 1.0</li>
 * <li>Content: create</li>
 */
public interface AdvanceSecurityQuestionService {

    /**
     * 查询所有问题
     * @return
     */
    List<SecurityQuestion> selectQuestions();

    /**
     * 添加密保问题
     * @param question 问题类容
     * @return
     */
    int addQuestion(String question);

    /**
     * 修改密保问题
     * @param questionId
     * @param question
     * @return
     */
    int updateQuestion(String questionId,String question);
}
